//
//  UIViewCommponent.h
//  HybirdNamibox
//
//  Created by 相颖 on 15/12/1.
//  Copyright © 2015年 Elephant. All rights reserved.
//

#import <UIKit/UIKit.h>

#define KL_RUN_COMMAND - (void)handleCommand:(NSDictionary *)action

typedef void(^NavgationPushCompletionBlock)(void);

@interface UIViewController (UIViewCommponent)

@property(nonatomic,assign)BOOL hiddenNavgationBar;

@property(nonatomic,assign)BOOL animationing;

@property (strong, nonatomic)id metaInfo;

@property(nonatomic,copy)NavgationPushCompletionBlock completionBlock;

@property (nonatomic, assign) BOOL      disableDarkModeDisplay;   /** 关闭暗黑模式 */

@property (nonatomic , assign) BOOL     disableShowNativeAudio;//!< 禁止原生音频播放器

+(UIViewController *)getCurrentVC;

- (void)pushWithAnimator:(UIViewController *)vc complete:(void(^)(void))complete;

@end
